package com.zl.enums
{
	import mx.collections.ArrayCollection;
	
	public class MModuleType
	{
		public static const TestDate:MModuleType = new MModuleType("日期", "testDate");
		public static const PRODUCTID:MModuleType = new MModuleType("工件号", "productId");
		public static const ME:MModuleType = new MModuleType("空车回转阻力矩", "me");
		public static const MF:MModuleType = new MModuleType("重车回转阻力矩", "mf");
		public static const PP:MModuleType = new MModuleType("弹性旁承载荷", "pp");
		public static const MM:MModuleType = new MModuleType("旁承磨耗板摩擦系数", "mm");
		
		
		[Bindable] public static var MeModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID, ME, PP, MM]);
		
		[Bindable] public static var MfModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID, MF, PP, MM]);

		
		
		
		public function MModuleType(n:String, v:String)
		{
			this._text = n;
			this._field = v;
		}
		
		private var _text:String;
		private var _field:String;
		
		public function get text():String
		{
			return _text;
		}
		public function get field():String
		{
			return _field;
		}
		
	}
}